package com.jc.subject;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.mybatis.spring.annotation.MapperScan;
/**
 * 启动类
 */
@SpringBootApplication
@ComponentScan("com.jc")
@MapperScan("com.jc.**.mapper")
public class SubjectApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(SubjectApplication.class, args);
        }catch (Exception e) {
            e.printStackTrace();
        }

    }
}
